export const getDirName = (filePath: string) => {
    return filePath.lastIndexOf('/') !== -1 ? filePath.substring(0, filePath.lastIndexOf('/')) : '';
}

